// 自动生成模板SysLog
package server_center

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// sysLog表 结构体  SysLog
type SysLog struct {
	global.GVA_MODEL
	GetPhoneNum   int    `json:"getPhoneNum" form:"getPhoneNum" gorm:"column:get_phone_num;comment:取号;"`             //取号
	GetCodeNum    int    `json:"getCodeNum" form:"getCodeNum" gorm:"column:get_code_num;comment:取码数;"`               //取码数
	SetCodeNum    int    `json:"setCodeNum" form:"setCodeNum" gorm:"column:set_code_num;comment:到码数;"`               //到码数
	ProjectId     int    `json:"projectId" form:"projectId" gorm:"column:project_id;comment:项目名称;"`                  //项目名称
	ProjectName   string `json:"projectName" form:"projectName" gorm:"column:project_name;comment:;size:255;"`       //projectName字段
	SettleOffice  string `json:"settleOffice" form:"settleOffice" gorm:"column:settle_office;comment:;size:255;"`    //settleOffice字段
	SuperiorsId   *int   `json:"superiorsId" form:"superiorsId" gorm:"column:superiors_id;comment:上级;"`              //上级
	SuperiorsName string `json:"superiorsName" form:"superiorsName" gorm:"column:superiors_name;comment:;size:255;"` //superiorsName字段
	SysUserId     *int   `json:"sysUserId" form:"sysUserId" gorm:"column:sys_user_id;comment:用户;"`                   //用户
	SysUserName   string `json:"sysUserName" form:"sysUserName" gorm:"column:sys_user_name;comment:;size:255;"`      //sysUserName字段
}

// TableName sysLog表 SysLog自定义表名 sys_log
func (SysLog) TableName() string {
	return "sys_log"
}
